home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Source Code
/
Visual Basic Source Code.iso
/
vbsource
/
cddbco2a
/
module1.bas
< prev
next >
Wrap
BASIC Source File
|
1999-10-13
|
267b
|
8 lines
Attribute VB_Name = "Module1"
Public Declare Function GetDriveType Lib "kernel32" Alias "GetDriveTypeA" (ByVal nDrive As String) As Long
Public Function DvT(Dv As Variant) As Long
sDl$ = Left$(Dv, 1) + ":\"
DvT = GetDriveType(sDl$)
End Function